package com.ruoyi.mapper;

import java.util.List;
import com.ruoyi.domain.AdvMembersaddr;
import org.apache.ibatis.annotations.Param;

/**
 * Mapper接口
 *
 * @author ruoyi
 * @date 2024-06-04
 */
public interface AdvMembersaddrMapper
{
    /**
     * 查询
     *
     * @param advMembersaddrId 主键
     * @return
     */
    public AdvMembersaddr selectAdvMembersaddrByAdvMembersaddrId(Long advMembersaddrId);

    /**
     * 查询列表
     *
     * @param advMembersaddr
     * @return 集合
     */
    public List<AdvMembersaddr> selectAdvMembersaddrList(AdvMembersaddr advMembersaddr);

    /**
     * 新增
     *
     * @param advMembersaddr
     * @return 结果
     */
    public int insertAdvMembersaddr(AdvMembersaddr advMembersaddr);

    /**
     * 修改
     *
     * @param advMembersaddr
     * @return 结果
     */
    public int updateAdvMembersaddr(AdvMembersaddr advMembersaddr);

    /**
     * 删除
     *
     * @param advMembersaddrId 主键
     * @return 结果
     */
    public int deleteAdvMembersaddrByAdvMembersaddrId(Long advMembersaddrId);

    /**
     * 批量删除
     *
     * @param advMembersaddrIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAdvMembersaddrByAdvMembersaddrIds(Long[] advMembersaddrIds);

    void removeDefault(@Param("advMembersId") Long advMembersId);
}
